<!DOCTYPE html>
<html lang="zh-CN">
	<head>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<title>组件</title>
		<link href="../bootstrap/css/bootstrap.min.css" rel="stylesheet">
		<!--[if lt IE 9]>
	      <script src="//cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
	      <script src="//cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
	    <![endif]-->
	</head>
	<body>
		<div class="container">
			<h1>下拉菜单</h1>
			<p>用于显示链接列表的可切换、有上下文的菜单。</p>
			<div class="dropdown">
			  <button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
			    Dropdown
			    <span class="caret"></span>
			  </button>
			  <ul class="dropdown-menu" aria-labelledby="dropdownMenu1">
			    <li><a href="#">Action</a></li>
			    <li><a href="#">Another action</a></li>
			    <li><a href="#">Something else here</a></li>
			    <li><a href="#">Separated link</a></li>
			  </ul>
			</div>
			<p>通过为下拉菜单的父元素设置 .dropup 类，可以让菜单向上弹出（默认是向下弹出的）。</p>
			<div class="dropup">
			  <button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu2" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
			    Dropup
			    <span class="caret"></span>
			  </button>
			  <ul class="dropdown-menu" aria-labelledby="dropdownMenu2">
			    <li><a href="#">Action</a></li>
			    <li><a href="#">Another action</a></li>
			    <li><a href="#">Something else here</a></li>
			    <li><a href="#">Separated link</a></li>
			  </ul>
			</div>
			<p>如需将菜单右对齐，请使用 .dropdown-menu-right 类。导航条中如需添加右对齐的导航（nav）组件，请使用 .pull-right 的 mixin 版本，
			可以自动对齐菜单。如需左对齐，请使用 .dropdown-menu-left 类。</p>
			<ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dLabel">
			</ul>
			<br>
			
			<h1>标题</h1>
			<p>在任何下拉菜单中均可通过添加标题来标明一组动作。</p>
			<ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dLabel">
				<li class="dropdown-header">Dropdown header</li>
			</ul>
			<p></p>
			<br>
			
			<h1>分割线</h1>
			<p>为下拉菜单添加一条分割线，用于将多个链接分组。</p>
			<ul class="dropdown-menu" aria-labelledby="dropdownMenuDivider">
				<li><a href="#">Action</a></li>
				<li><a href="#">Action</a></li>
				<li role="separator" class="divider"></li>
				<li><a href="#">Action</a></li>
				<li><a href="#">Action</a></li>
				<li role="separator" class="divider"></li>
				<li><a href="#">Action</a></li>
				<li><a href="#">Action</a></li>
			</ul>
			<p></p>
			<br>
			
			<h1></h1>
			<p></p>
			<br>
			
			<h1></h1>
			<p></p>
			<br>
			
			<h1></h1>
			<p></p>
			<br>
			
			<h1></h1>
			<p></p>
			<br>
			
			<h1></h1>
			<p></p>
			<br>
			
			<h1></h1>
			<p></p>
			<br>
			
			<h1></h1>
			<p></p>
			<br>
			
			<h1></h1>
			<p></p>
			<br>
			
			<h1></h1>
			<p></p>
			<br>
			
			<h1></h1>
			<p></p>
			<br>
			
			<h1></h1>
			<p></p>
			<br>
			
			<h1></h1>
			<p></p>
			<br>
			
		</div>
		<script src="//cdn.bootcss.com/jquery/1.11.3/jquery.min.js"></script>
		<script src="../bootstrap/js/bootstrap.min.js"></script>
	</body>
</html>